﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="callme.aspx.cs"  Async="true" Inherits="car_insurance_callme" %>
<%@ Register Src="~/controls/usrMobilePhone.ascx" TagName="usrPhoneNo" TagPrefix="uc10" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link rel="stylesheet" type="text/css" href="/css/main.css" />
    <link rel="stylesheet" type="text/css" href="/css/forms.css" />
    <link rel="stylesheet" type="text/css" href="/css/callme_popup.css" />
    <title>Call me back - GluayGluay.com</title>
    <script src="/includes/ValidationError-NEW.js" type="text/javascript"></script>
    <script src="/includes/ValidationEffect-NEW.js" type="text/javascript"></script>
</head>
<body>
<form id="formCallMe" runat="server">
    <div id="container_callme" style="width:auto; height: auto; margin: 0 auto; margin-left:50px;">
        <div class="padding_30px">
            <h1>
                <%=GetGlobalResourceObject("CarInsurance", "CallYouBack")%></h1>
            <div class="seperator">
            </div>
            <div style="width: 430px;">
            <%=GetGlobalResourceObject("CarInsurance", "CallMeNow")%>
            </div>
            <div class="seperator_15px">
            </div>
            <!--Form  |  Starts-->
            <div style="width: 430px;">
            <asp:ValidationSummary ID="vsCallme" runat="server" ValidationGroup="callme"
             ShowSummary="True" HeaderText="<%$ Resources:Menu,RequiredValidation%>" CssClass="errorSummary" />
            </div> 
            <div id="divExisting" runat="server">
                <div class="form_col_1 left">
                    <asp:Label ID="lblExistingUser" runat="server" Text="<%$ Resources:CarInsurance,ExistingUser%>" /></div>
                <div class="form_col_2 left">
                    <div class="form_col_2 left">
                        <asp:RadioButton ID="rdoExistingNo" runat="server" GroupName="existinguser" Checked="true" />                           
                        <asp:Label ID="lblNo" runat="server" Text="<%$ Resources:CarInsurance,Option_No%>"></asp:Label>
                        &nbsp;
                        <asp:RadioButton ID="rdoExistingYes" runat="server" Text="" GroupName="existinguser" />                            
                        <asp:Label ID="lblYes" runat="server" Text="<%$ Resources:CarInsurance,Option_Yes%>"></asp:Label>
                    </div>
                </div>
                
                <br />              
                <br />                     
                <div class="seperator_form">
                </div>
            </div>
            <div>
                <div class="form_col_1 comp left">
                    <asp:Label ID="lblFullName" runat="server" Text="<%$ Resources:CarInsurance,FullName%>" /></div>
                <div class="form_col_2 left">
                    <asp:TextBox ID="txtCallMeFullName" Width="230" MaxLength="50" runat="server"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="rfvCallMeFullName" runat="server" CssClass="validationErrorControl"
                        ValidationGroup="callme" ErrorMessage="" Text="" ControlToValidate="txtCallMeFullName"></asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="revCallMeFullName" runat="server" ValidationGroup="callme"
                        ValidationExpression="^([\u0000-\uDFFF']{1,50})$|^([a-zA-Z''-'\s]{1,50})$" CssClass="validationErrorControl"
                        ControlToValidate="txtCallMeFullName" ErrorMessage=""></asp:RegularExpressionValidator>
                </div>
            </div>
            <div>
                <div class="seperator_form">
                </div>
                
                <div>
                    <div class="form_col_1 comp left">
                        <asp:Label ID="lblEmail" runat="server" Text="<%$ Resources:CarInsurance,EmailAddress%>" /></div>
                    <div class="form_col_2 left">
                        <asp:TextBox ID="txtEmailAddress" runat="server" MaxLength="100" Width="230" ></asp:TextBox>
                        <asp:RequiredFieldValidator ID="rfvEmail" runat="server" Text="" CssClass="validationErrorControl"
                            ValidationGroup="callme" ErrorMessage="" ControlToValidate="txtEmailAddress"
                            Display="Dynamic"></asp:RequiredFieldValidator>
                        <asp:RegularExpressionValidator ID="rfvEmailValid" Text="" CssClass="validationErrorControl"
                            runat="server" ValidationGroup="callme" ErrorMessage="" ControlToValidate="txtEmailAddress"
                            ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" Display="Dynamic"></asp:RegularExpressionValidator>
                    </div>
                </div>
                <div class="seperator_form">
                </div>
                <div>
                    <div class="form_col_1 comp left">
                        <asp:Label ID="lblMobileNo" runat="server" Text="<%$ Resources:CarInsurance,MobileNo%>" /></div>
                    <div class="form_col_2 left">
                        <uc10:usrPhoneNo ID="usrCallMePhoneNo" ValidationGroup="callme" IsEnabled="true" PhoneNoErrorMessage="Mobile Phone No must be number value."
                            PhoneNoValidErrorMessage="Mobile phone no is not valid." IsRequired="true" PhoneNoRequireErrorMessage="Require Mobile Phone No."
                            runat="server" />
                    </div>
                </div>
                <div class="seperator_form">
                </div>
                <div>
                    <div class="form_col_1 comp left">
                        <%=GetGlobalResourceObject ("CarInsurance","CallMeAt") %></div>
                    <div class="form_col_2 left">
                        <asp:DropDownList CssClass="blue" Font-Size="12px" runat="server" ID="ddlCallMeTime">
                            <asp:ListItem Value="-1" Text="<%$Resources:CarInsurance,Select %>" />
                            <asp:ListItem Value="1" Text="<%$Resources:CarInsurance,CallMeMorning %>" />
                            <asp:ListItem Value="2" Text="<%$Resources:CarInsurance,CallMeAfternoon %>" />
                            <asp:ListItem Value="3" Text="<%$Resources:CarInsurance,CallMeEvening %>" />
                            <asp:ListItem Value="4" Text="<%$Resources:CarInsurance,CallMeAnytime %>" />
                        </asp:DropDownList>
                        <asp:RequiredFieldValidator ID="rfvCallMeTime" runat="server"   CssClass="validationErrorControl"
                            ValidationGroup="callme" ErrorMessage="" Text="" InitialValue="-1" ControlToValidate="ddlCallMeTime"></asp:RequiredFieldValidator>
                    </div>
                </div>
                <div class="seperator_form">
                </div>                
                <div id="divCallMe" runat="server" visible="false">
                    <div class="form_col_1 left">
                    &nbsp;
                    </div>
                    <div class="form_col_2 left">
                    <asp:Label ID="lblCallMeMessage" runat="server" Font-Size="12px" ForeColor="Green" Font-Bold="true"
                        Font-Names="Arial" Text ="" />
                    </div>
                </div>                                    
                <div>
                    <div class="form_col_1 left">
                    &nbsp;
                    </div>
                    <div class="form_col_2 left">
                        <asp:Button ID="btnSubmit" Text="<%$Resources:Homepage,Submit %>"
                            CssClass="button_submit" OnClientClick="LoadValidationErrorCss();if (Page_ClientValidate('callme')){this.className = 'button_processing';}"
                            runat="server" ValidationGroup="reminder" AlternateText="Next" ToolTip="Next"
                            CausesValidation="true" OnClick="btnSubmit_Click" />                                
                    </div>
                </div>                
                <!--Form  |  Ends-->
                <div class="seperator">
                </div>
                <div style="width: 430px; font-size: 0.85em;">
                <%--<%=GetGlobalResourceObject("CarInsurance", "Agreement")%>--%>
                </div>
            </div>
        </div>
    </div>
</form>
</body>
</html>
